<?php defined('SEJUJOPEFDNGJSL') or exit('Access denied');?>
<?php
//取得文章
$arrn=getnews();
//头条
$rn=$arrn[0];
//6条
$rns=$arrn[1];
?>
<div style="width: 100%;height: auto;overflow: hidden;min-height: 100%;padding-bottom:160px;">
    <div class="newsbox">
        <div class="indent-r-kuai-news">最新动态</div>
        <div class="indent-r-kuai-newslist">
        <?php
        foreach ($rns as $k => $v) {
            $cont=htmlguolv($v['content']);
            //print_r($cont);
        ?>
            <div style="height:auto;border-top: 1px solid #dfdede!important;" class="bt bd1">
                <span style="color:#E1631A">[<?php echo getatricletype(array(1,$v['attype']))?>]</span>
                &nbsp;<a href="<?php echo SITEINDEX.'?lsact=newsview&veid='.$v['id']?>"><?php echo $v['title'];?></a>
                <div style="font-size:90%;"><?php echo str_cut($cont,150)?><br /><span><a href="<?php echo SITEINDEX.'?lsact=newsview&veid='.$v['id']?>">详细信息</a></span></div>

            </div>
        <?php
        }
        ?>
        </div>
    </div>
</div>